package com.skp.shaphan.sql;

public class SQLServerSPP extends SQLPreProcessor {

	public SQLServerSPP(String sql) {
		super(sql);
	}

	@Override
	protected String resolveCurrentDateIn(SQLTokenInfo sti) {
		return "{ fn CURDATE() }";
	}

	@Override
	protected String resolveNumToChar(SQLTokenInfo sti) {
		return "convert(varchar," + sti.getParenText() + ")";
	}
}
